import React, { Fragment } from "react";

const Header = React.lazy(() => {
  return import('remote/Header');
})

class App extends React.PureComponent {
  render() {
    return (
      <Fragment>
        <h2>host应用</h2>
        <React.Suspense fallback="加载中>>">
          <Header />
        </React.Suspense>
        <hr />
      </Fragment>
    )
  }
}

export default App;